package org.aphelie.torg.ruler.internal.ui.editor;

import org.eclipse.core.resources.IMarker;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel;

/**
 * A marker annotation model whose underlying source of markers is 
 * a resource in the workspace.
 * <p>
 * This class may be instantiated; it is not intended to be subclassed.
 * </p>
 */
public class SystemFileMarkerAnnotationModel extends
		AbstractMarkerAnnotationModel {

	@Override
	protected IMarker[] retrieveMarkers() throws CoreException {
		return null;
	}

	@Override
	protected void deleteMarkers(IMarker[] markers) throws CoreException {
	}

	@Override
	protected void listenToMarkerChanges(boolean listen) {
	}

	@Override
	protected boolean isAcceptable(IMarker marker) {
		return true;
	}

}
